home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 2: CDPD 1
/
Almathera Ten on Ten - Disc 2: CDPD 1.iso
/
pd
/
201-225
/
201
/
draco
/
drinc
/
libraries
/
diskfont.g
< prev
next >
Wrap
Text File
|
1995-03-13
|
969b
|
57 lines
uint
MAXFONTPATH=256,
MAXFONTNAME=32;
type
Node_t=unknown14,
Library_t=unknown34,
TextFont_t=unknown52,
TextAttr_t=unknown8,
FontContents_t=struct{
[MAXFONTPATH]charfc_FileName;
uintfc_YSize;
ushortfc_Style;
ushortfc_Flags;
},
FontContentsHeader_t=struct{
uintfch_FileID;
uintfch_NumEntries;
[1]FontContents_tfch_FC;
},
DiskFontHeader_t=struct{
Node_tdfh_DF;
uintdfh_FileID;
uintdfh_Revision;
ulongdfh_Segment;
[MAXFONTNAME]chardfh_Name;
TextFont_tdfh_TF;
},
AvailFonts_t=struct{
uintaf_Type;
TextAttr_taf_Attr;
},
AvailFontsHeader_t=struct{
uintafh_NumEntries;
[1]AvailFonts_tafh_AF;
};
uint
FCH_ID=0x0f00,
DFH_ID=0x0f80,
AFB_MEMORY=0,
AFF_MEMORY=1,
AFB_DISK=1,
AFF_DISK=2;
extern
OpenDiskFontLibrary(ulongversion)*Library_t,
CloseDiskFontLibrary()void,
AvailFonts(*bytebuffer;ulongbufBytes,types)ulong,
OpenDiskFont(*TextAttr_ttextAttr)*TextFont_t;